package edu.gdkm.pojo;

import java.time.LocalDateTime;
import edu.gdkm.pojo.User;

public class Resume {
    private Long id;
    private User user;
    private String resumeName;
    private String templateId;
    private String educationExperience;
    private String workExperience;
    private String projectExperience;
    private String skills;
    private String certificates;
    private String hobbies;
    private String languageAbility;
    private String internshipExperience;
    private Integer visibility;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    // 完整的Getter和Setter方法
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getResumeName() {
        return resumeName;
    }

    public void setResumeName(String resumeName) {
        this.resumeName = resumeName;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getEducationExperience() {
        return educationExperience;
    }

    public void setEducationExperience(String educationExperience) {
        this.educationExperience = educationExperience;
    }

    public String getWorkExperience() {
        return workExperience;
    }

    public void setWorkExperience(String workExperience) {
        this.workExperience = workExperience;
    }

    public String getProjectExperience() {
        return projectExperience;
    }

    public void setProjectExperience(String projectExperience) {
        this.projectExperience = projectExperience;
    }

    public String getSkills() {
        return skills;
    }

    public void setSkills(String skills) {
        this.skills = skills;
    }

    public String getCertificates() {
        return certificates;
    }

    public void setCertificates(String certificates) {
        this.certificates = certificates;
    }

    public String getHobbies() {
        return hobbies;
    }

    public void setHobbies(String hobbies) {
        this.hobbies = hobbies;
    }

    public String getLanguageAbility() {
        return languageAbility;
    }

    public void setLanguageAbility(String languageAbility) {
        this.languageAbility = languageAbility;
    }

    public String getInternshipExperience() {
        return internshipExperience;
    }

    public void setInternshipExperience(String internshipExperience) {
        this.internshipExperience = internshipExperience;
    }

    public Integer getVisibility() {
        return visibility;
    }

    public void setVisibility(Integer visibility) {
        this.visibility = visibility;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Resume{" +
                "id=" + id +
                ", user=" + user +
                ", resumeName='" + resumeName + '\'' +
                ", templateId='" + templateId + '\'' +
                ", educationExperience='" + educationExperience + '\'' +
                ", workExperience='" + workExperience + '\'' +
                ", projectExperience='" + projectExperience + '\'' +
                ", skills='" + skills + '\'' +
                ", certificates='" + certificates + '\'' +
                ", hobbies='" + hobbies + '\'' +
                ", languageAbility='" + languageAbility + '\'' +
                ", internshipExperience='" + internshipExperience + '\'' +
                ", visibility=" + visibility +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
